// var express = require('express');
// var router = express.Router();
// var dataCtrl = require('../controller/upload.controller');
// /* GET users listing. */
// router.get('/', function(req, res, next) {
//   res.send('respond with a upload');
// });
// router.post('/uploads',dataCtrl.upload);
// router.delete('/data/:id',dataCtrl.remove);
// router.post('/list',dataCtrl.list);
// module.exports = router;


var express = require('express');
var router = express.Router();

var dataCtrl = require('../controller/upload.controller');

router.post('/upload',dataCtrl.upload);
router.post('/list',dataCtrl.list);



module.exports = router;